package cn.migu.music.hangupsms.remote;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import cn.migu.music.cljz.common.dataobject.BaseRsp;
import cn.migu.music.hangupsms.common.entity.VrbtSendMsg;

/**
 * @version 1.0 created by duanhao@migu.cn on 2022/3/9 3:23 下午
 */
@FeignClient(name = "cljz-keypress-service", url = "http://cljz-keypress-service.${spring.profiles.cljzactive}:8080")
public interface SMSFeignService {

    /**
     * 发送短信给用户的代理接口 V3
     *
     * @param event
     * @return
     */
    @PostMapping("/v1.0/sms/send-msg/v1.0")
    BaseRsp vRBTSendMsgV3(@RequestBody VrbtSendMsg event);
}
